-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove redundant Prometheus variable labels #5008
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5008 +/- ##
==========================================
- Coverage 52.32% 52.31% -0.01%
==========================================
Files 61 60 -1
Lines 17502 17499 -3
==========================================
- Hits 9158 9155 -3
- Misses 8015 8016 +1
+ Partials 329 328 -1 ☔ View full report in Codecov by Sentry. |
d576d0b
to
bef63eb
Compare
Signed-off-by: Haywood Shannon <[email protected]> Signed-off-by: Haywood Shannon <[email protected]>
bef63eb
to
620da3a
Compare
Remove redundant variable labels Signed-off-by: Haywood Shannon <[email protected]> (cherry picked from commit fb60fb6)
Remove redundant variable labels Signed-off-by: Haywood Shannon <[email protected]> (cherry picked from commit fb60fb6)
Proposed changes
Remove unused Prometheus variable labels to eliminate warning messages from Prometheus exporter. closes #4952
The worker metrics now looks like the following without any warning messages
Tests
worker
In the main branch, there were warning messages when prometheus metrics are exported. The following logs are no longer found.
In the main branch, extra labels
resource_name
,resource_namespace
,resource_type
are found in the prometheus metrics with no values.In this branch, worker metrics exported in this branch no longer contain the redundant values:
http cache
No changes in logs and metrics as http cache variable labels are not processed in the prometheus exporter.
Checklist
Before creating a PR, run through this checklist and mark each as complete.